package com.haizhi.crm.common.constant;

/**
 * Created by caochao on 2018/05/24.
 */
public interface CrmConstant {

    //获取配置文件中graph搜索服务URL的key
    static final String GRAPH_SERVER_URL_KEY = "graph.manager.url.graph-search-es";
    //获取配置文件中es搜索服务URL的key
    static final String SEARCH_SERVER_URL_KEY = "search.manager.url.graph-search-es";
    //获取配置文件中tag搜索服务URL的key
    static final String TAG_SERVER_URL_KEY = "tag.manager.url.graph-tag-analytics";

    static final String DC_INBOUND_URI_KEY = "graph.inbound.apiUri";

    static final String BATCHNO_URI_KEY = "graph.inbound.batchNoUri";

    /**** 行外事件类型 ******/
    static final String OUTEREVENT_ENTERPRISE = "enterprise";    //工商信息变更
    static final String OUTEREVENT_BID = "bid";                  //招中标
    static final String OUTEREVENT_LAW = "law";                  //涉诉信息
    static final String OUTEREVENT_TAXES = "taxes";              //欠税公告
    static final String OUTEREVENT_ADM = "adm";                  //行政处罚
    static final String OUTEREVENT_NEWS = "news";                //新闻舆情
    static final String OUTEREVENT_SHARE = "share";              //股权质押
    static final String OUTEREVENT_PROPERTY = "property";        //动产抵押
    static final String OUTEREVENT_LAND = "land";                //土地招拍挂
    static final String OUTEREVENT_ALL = "all";                  //全部

    /**** 行内动态类型 ******/
    static final String INNEREVENT_ACCOUNT = "account";          //账户变动
    static final String INNEREVENT_BUSINESS = "business";        //业务到期
    static final String INNEREVENT_PERFORMANCE = "performance";  //业绩关系变化
    static final String INNEREVENT_ATTRIBUTION = "attribution";  //归属关系变动
    static final String INNEREVENT_RISK = "risk";                //风险评级变化
    static final String INNEREVENT_REPAYMENT = "repayment";       //还款付息信息
    static final String INNEREVENT_All = "all";                   //全部


    /**** 查询方式 ****/
    static final String QUERYTYPE_MY = "my";                      //我的数据
    static final String QUERYTYPE_UNDERLING = "underling";        //下属的数据

    /**** 事件来源（事件列表source字段） ****/
    static final String SOURCE_CUSTOMER_MANAGER = "customerManager";  //管户客户经理
    static final String SOURCE_MY_FAVOURITY = "myFavourity";          //我收藏的
    static final String SOURCE_SHEAR_TO_ME = "shearToMe";             //分享给我的
    static final String SOURCE_CONCERN_CUSTOMER = "concernCustomer";  //关注客户

    /**** 客户来源（客户列表查询） ****/
    static final String COMPANY_LIST_SOURCE_ALL = "all";//所有来源
    static final String COMPANY_LIST_SOURCE_MY = "my";//我的客户
    static final String COMPANY_LIST_SOURCE_CONCERN = "concernCustomer";//我关注的客户


    public static final String ENABLE_FLAG = "1";//允许
    public static final String DISABLE_FLAG = "0";//禁用
}
